<template>
    <div>
        <div style="padding:10px;" v-for="item in links">
            <router-link :to="item.path">{{item.name}}</router-link>
        </div>
    </div>
</template>

<script>
    import routes from '../router/index.js'

    export default {
        data() {
            return {
                links: routes.options.routes
            }
        }
    }
</script>
